package org.ghost.wechat.platform.dto.wechat.material;

import com.fasterxml.jackson.annotation.JsonProperty;
import org.ghost.wechat.platform.dto.WeChatErrorRspDTO;

/**
 * @author 01
 */
public class WeChatGetVideoRspDTO extends WeChatErrorRspDTO {
    private static final long serialVersionUID = -6940945808691937960L;
    /**
     * 视频素材的标题
     */
    private String title;
    /**
     * 视频素材的描述
     */
    private String description;
    /**
     * 下载链接
     */
    private String downUrl;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getDownUrl() {
        return downUrl;
    }

    @JsonProperty(value = "down_url")
    public void setDownUrl(String downUrl) {
        this.downUrl = downUrl;
    }

    @Override
    public String toString() {
        return "WeChatGetVideoRspDTO{" +
                "title='" + title + '\'' +
                ", description='" + description + '\'' +
                ", downUrl='" + downUrl + '\'' +
                ", errCode=" + errCode +
                ", errMsg='" + errMsg + '\'' +
                '}';
    }
}
